package com.qtcm.nas.jhx.pingjia.service.impl;

import com.qtcm.nas.jhx.pingjia.dao.IPinglundao;
import com.qtcm.nas.jhx.pingjia.service.IPinglunservice;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("pinglunservice")
@ComponentScan
public class Pinglunservice implements IPinglunservice {
    @Resource(name = "pinglundao")
    private IPinglundao pinglundao;
    @Override
    public int countpingjia() {
        return pinglundao.countpingjia();
    }

    @Override
    public int counthpj() {
        return pinglundao.counthpj();
    }

    @Override
    public int countcpj() {
        return pinglundao.countcpj();
    }
}
